curl --request GET \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{id}/console/{session_id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"legacy_id": 123,
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "pending",
"size": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"vcpu": 2147483647,
"ram_mb": 2147483647,
"bandwidth_mbps": 2147483647,
"available_volumes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_type": "ssd",
"disk_gb": 2147483647,
"is_default": true,
"is_active": true
}
],
"pricing_options": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_cycle": "hourly",
"price": "<string>",
"discount_percent": "<string>",
"is_default": true,
"is_active": true
}
],
"available_addons": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"addon": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"name_fr": "<string>",
"description": "<string>",
"description_fr": "<string>",
"billing_type": "recurring",
"is_active": true
},
"pricing_options": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_cycle": "hourly",
"price": "<string>",
"is_active": true
}
],
"is_included": true,
"is_default": true,
"is_active": true
}
],
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"cpu_model": "e5-2680-v4",
"is_active": true,
"description": "<string>"
},
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"country_code": "<string>",
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"is_active": true
},
"vpc": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"cidr_block": "<string>",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"country_code": "<string>",
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"is_active": true
},
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"is_active": true
},
"image": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"os_name": "<string>",
"os_version": "<string>",
"language": "<string>",
"is_windows": true,
"requires_license_addon": true,
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"description": "<string>",
"visibility": "public",
"os_architecture": "<string>",
"is_active": true,
"is_featured": true,
"min_disk_gb": 2147483647,
"min_ram_mb": 2147483647
},
"os_name": "<string>",
"primary_ipv4": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"primary_ipv6": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ip_addresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"address": "<string>",
"ip_type": "ipv4",
"interface": 123,
"netmask": "<string>",
"gateway": "<string>",
"network_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"vlan": 123,
"mac_address": "<string>",
"is_primary": true,
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"reverse_dns": "<string>"
}
],
"volumes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"size_gb": 123,
"status": "pending",
"disk_name": "<string>",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"country_code": "<string>",
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"is_active": true
},
"price_monthly": "<string>",
"is_active": true,
"created": "2023-11-07T05:31:56Z"
}
],
"billing_start_date": "2023-11-07T05:31:56Z",
"billing_end_date": "2023-11-07T05:31:56Z",
"next_billing_date": "2023-11-07T05:31:56Z",
"cancellation_requested_at": "2023-11-07T05:31:56Z",
"cancellation_reason": "<string>",
"bandwidth_used_gb": "<string>",
"is_active": true,
"is_installed": true,
"state_sync": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"vm_status": "<string>",
"last_synced_at": "2023-11-07T05:31:56Z",
"uptime": 2147483647,
"cpu_usage": "<string>",
"memory_usage_mb": 2147483647,
"disk_usage_gb": "<string>",
"network_in_bytes": 0,
"network_out_bytes": 0,
"sync_source": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"hostname": "<string>",
"billing_cycle": "free",
"tags": "<unknown>"
}Get the current status and URL of a console session.
curl --request GET \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{id}/console/{session_id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"legacy_id": 123,
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "pending",
"size": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"vcpu": 2147483647,
"ram_mb": 2147483647,
"bandwidth_mbps": 2147483647,
"available_volumes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"volume_type": "ssd",
"disk_gb": 2147483647,
"is_default": true,
"is_active": true
}
],
"pricing_options": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_cycle": "hourly",
"price": "<string>",
"discount_percent": "<string>",
"is_default": true,
"is_active": true
}
],
"available_addons": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"addon": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"name_fr": "<string>",
"description": "<string>",
"description_fr": "<string>",
"billing_type": "recurring",
"is_active": true
},
"pricing_options": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"billing_cycle": "hourly",
"price": "<string>",
"is_active": true
}
],
"is_included": true,
"is_default": true,
"is_active": true
}
],
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"cpu_model": "e5-2680-v4",
"is_active": true,
"description": "<string>"
},
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"country_code": "<string>",
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"is_active": true
},
"vpc": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"cidr_block": "<string>",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"country_code": "<string>",
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"is_active": true
},
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"is_active": true
},
"image": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"os_name": "<string>",
"os_version": "<string>",
"language": "<string>",
"is_windows": true,
"requires_license_addon": true,
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"description": "<string>",
"visibility": "public",
"os_architecture": "<string>",
"is_active": true,
"is_featured": true,
"min_disk_gb": 2147483647,
"min_ram_mb": 2147483647
},
"os_name": "<string>",
"primary_ipv4": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"primary_ipv6": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ip_addresses": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"address": "<string>",
"ip_type": "ipv4",
"interface": 123,
"netmask": "<string>",
"gateway": "<string>",
"network_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"vlan": 123,
"mac_address": "<string>",
"is_primary": true,
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"reverse_dns": "<string>"
}
],
"volumes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"size_gb": 123,
"status": "pending",
"disk_name": "<string>",
"location": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"country_code": "<string>",
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"is_active": true
},
"price_monthly": "<string>",
"is_active": true,
"created": "2023-11-07T05:31:56Z"
}
],
"billing_start_date": "2023-11-07T05:31:56Z",
"billing_end_date": "2023-11-07T05:31:56Z",
"next_billing_date": "2023-11-07T05:31:56Z",
"cancellation_requested_at": "2023-11-07T05:31:56Z",
"cancellation_reason": "<string>",
"bandwidth_used_gb": "<string>",
"is_active": true,
"is_installed": true,
"state_sync": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"vm_status": "<string>",
"last_synced_at": "2023-11-07T05:31:56Z",
"uptime": 2147483647,
"cpu_usage": "<string>",
"memory_usage_mb": 2147483647,
"disk_usage_gb": "<string>",
"network_in_bytes": 0,
"network_out_bytes": 0,
"sync_source": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"hostname": "<string>",
"billing_cycle": "free",
"tags": "<unknown>"
}Documentation Index
Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
A UUID string identifying this Instance.
Console session UUID
Instance name
255Billing status
pending - Pendingprovisioning - Provisioningactive - Activesuspended - Suspendedterminated - Terminatedcancelled - Cancelledpending, provisioning, active, suspended, terminated, cancelled Show child attributes
Show child attributes
Show child attributes
Show child attributes
Operating system name
100Primary IPv4 address
Primary IPv6 address
Show child attributes
Show child attributes
For prepaid only
When cancellation was requested, effective at billing_end_date
Reason provided for cancellation request
^-?\d{0,13}(?:\.\d{0,2})?$Whether the instance OS/service has been installed
Show child attributes
Instance hostname
255free - Freeone_time - One Timehourly - Hourlymonthly - Monthlyquarterly - Quarterlysemi_annually - Semi-Annuallyannually - Annuallybiennially - Bienniallytriennially - Trienniallyfree, one_time, hourly, monthly, quarterly, semi_annually, annually, biennially, triennially Custom tags